<!DOCTYPE HTML>
<html><head><meta charset="utf-8"><title>PatternSynonyms</title><link rel="stylesheet" href="Agda.css"></head><body><pre class="Agda"><a id="1" class="Background">\documentclass{article}
\usepackage{agda}
\begin{document}

</a><a id="61" class="Markup">\begin{code}</a>
<a id="74" class="Keyword">data</a> <a id="Nat"></a><a id="79" href="PatternSynonyms.html#79" class="Datatype">Nat</a> <a id="83" class="Symbol">:</a> <a id="85" href="Agda.Primitive.html#311" class="Primitive">Set</a> <a id="89" class="Keyword">where</a>
  <a id="Nat.zero"></a><a id="97" href="PatternSynonyms.html#97" class="InductiveConstructor">zero</a> <a id="102" class="Symbol">:</a> <a id="104" href="PatternSynonyms.html#79" class="Datatype">Nat</a>
  <a id="Nat.suc"></a><a id="110" href="PatternSynonyms.html#110" class="InductiveConstructor">suc</a> <a id="114" class="Symbol">:</a> <a id="116" href="PatternSynonyms.html#79" class="Datatype">Nat</a> <a id="120" class="Symbol">→</a> <a id="122" href="PatternSynonyms.html#79" class="Datatype">Nat</a>

<a id="127" class="Keyword">module</a> <a id="PatternSyns"></a><a id="134" href="PatternSynonyms.html#134" class="Module">PatternSyns</a> <a id="146" class="Keyword">where</a>
  <a id="154" class="Keyword">pattern</a> <a id="PatternSyns.two"></a><a id="162" href="PatternSynonyms.html#162" class="InductiveConstructor">two</a>   <a id="168" class="Symbol">=</a> <a id="170" href="PatternSynonyms.html#110" class="InductiveConstructor">suc</a> <a id="174" class="Symbol">(</a><a id="175" href="PatternSynonyms.html#110" class="InductiveConstructor">suc</a> <a id="179" href="PatternSynonyms.html#97" class="InductiveConstructor">zero</a><a id="183" class="Symbol">)</a>
  <a id="187" class="Keyword">pattern</a> <a id="PatternSyns.three"></a><a id="195" href="PatternSynonyms.html#195" class="InductiveConstructor">three</a> <a id="201" class="Symbol">=</a> <a id="203" href="PatternSynonyms.html#110" class="InductiveConstructor">suc</a> <a id="207" href="PatternSynonyms.html#162" class="InductiveConstructor">two</a>

<a id="212" class="Keyword">open</a> <a id="217" href="PatternSynonyms.html#134" class="Module">PatternSyns</a> <a id="229" class="Keyword">using</a> <a id="235" class="Symbol">(</a><a id="236" href="PatternSynonyms.html#162" class="InductiveConstructor">two</a><a id="239" class="Symbol">)</a> <a id="241" class="Keyword">renaming</a> <a id="250" class="Symbol">(</a><a id="251" href="PatternSynonyms.html#195" class="InductiveConstructor">three</a> <a id="257" class="Symbol">to</a> <a id="260" class="InductiveConstructor">three′</a><a id="266" class="Symbol">)</a>

<a id="269" class="Keyword">data</a> <a id="Bot"></a><a id="274" href="PatternSynonyms.html#274" class="Datatype">Bot</a> <a id="278" class="Symbol">:</a> <a id="280" href="Agda.Primitive.html#311" class="Primitive">Set</a> <a id="284" class="Keyword">where</a>
<a id="290" class="Markup">\end{code}</a><a id="300" class="Background">

\end{document}
</a></pre></body></html>